﻿//Created by Action Script Viewer - http://www.buraks.com/asv
package Transactions {
    import Modules.stats.experiments.*;

    public class TCompleteTutorial extends TFarmTransaction {

        override public function perform():void{
            signedCall("UserService.completeTutorial");
        }
        override protected function onComplete(_arg1:Object):void{
            var _local2:int = Global.experimentManager.getVariant(ExperimentDefinitions.EXPERIMENT_D2_INVITENEIGHBOR_PROMPT);
            Global.hud.refreshGoodsHUD();
            if (_local2 == 1){
                Global.player.setLastActivationTime("d2_invitefriendsdialog_timer", (GlobalEngine.getTimer() / 1000));
            };
        }

    }
}//package Transactions 
